<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'editpassword.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
<link rel="stylesheet" type="text/css" href="style/style.css">
<script src="js/jquery-1.8.3.js"></script>
<script src="js/jquery.placeholder.js"></script>
<script src="js/edit.js"></script>

  </head>
  
  <body>
   <form action="javascript:editCheck();" method="post">
		<div id="editpw">
			<div class="textBox_div" id="userNu">
				<input class="textBox" id="idnum" name="userNu" value="<%= session.getAttribute("id") %>"
					type="text" maxlength="8"  readOnly/>

			</div>

			<div class="textBox_div" id="userPassword_div">
				<input id="oldpw" class="textBox" name="oldPassword"  placeholder="原 密 码"
					type="password" maxlength="16" />
			</div>

			<div class="textBox_div" id="edituserPassword_div1">
				<input id="newpw" class="textBox" name="newPassword1" placeholder="新 密 码"
					type="password" maxlength="16" />
			</div>
			
			<div class="textBox_div" id="edituserPassword_div2">
				<input id="repeatpw" class="textBox" name="newPassword2" placeholder="重 密 码"
					type="password" maxlength="16" />
			</div>

			<input id="identityedit"name="identity" type="hidden" value="<%= session.getAttribute("isLogin") %>"></input>

			<div id="editsubmit_div">
				<input id="loginButton" class="button_blue" name="submit" value="修改" type="submit" />
			</div>
		</div>
	</form>
  </body>
</html>
